package com.shuai.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shuai.model.vo.base.BaseVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author : 帅宏-coding
 * @version : 1.0
 * @date : 2025/6/23 0023
 */
@Data // Lombok注解，自动生成getter/setter等方法
@TableName("t_subproject_task") // MyBatis-Plus注解，指定数据库表名
@EqualsAndHashCode(callSuper = true)
public class TaskVO extends BaseVo {
    @TableId(value = "taskid", type = IdType.AUTO)
    private Integer taskId;
    @TableField("taskname")
    private String taskName;
    @TableField("managerid")
    private Integer managerId;
    @TableField("timeLimit")
    private Integer timeLimit;
    @TableField("taskcompletion")
    private Double taskCompletion;
    @TableField("subprojectid")
    private Integer subProjectId;
    private Double prop;
    @TableField(exist = false)
    private String managerName;
}

